<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
    <script language="javascript" type="text/javascript">
		$(function(){
			ADMIN.uploadPath = '<?php echo sfConfig::get('app_uploadControl_path')?>';
			ADMIN.init();
			
	
			LANG.current= '<?php echo $sf_user->getCulture()?>';
			LANG.current_text = '<?php echo __('language')?>';
			LANG.init();
			
		});
	</script>
    
	
	<style type="text/css">
	.mCSB_scrollTools .mCSB_draggerRail {
		display: none;
	}
	</style>
	<?php include_slot('header') ?>
  </head>
  <body>
  	<div class="hz-loading">
  		loading...
  	</div>
  	<!-- <div id="page-top">
  			<div id="top-logo"><a href="#" alt="hzk solutions" title="hzk solutions"><img src="/css/admin/img/global/hzk-logo.png"/></a></div>
  	</div>	 -->
  	<div id="page-user-region">
  		<?php if (sfConfig::get('app_menu_type') == ADMIN_DEFINED::MENU_TYPE_TOP):?>
  			<?php include_component('default', 'menuTop');?>
  		<?php endif;?>
  		<div class="admin-language">
  			<div class="language"></div>
  		</div>
  		<div class="admin-user">
  			<?php 
  			$account = $sf_user->getAttribute('admin.accounts',array());
  			if(count($account)):?>
  			<span class="welcome"><?php echo __('welcome')?></span>
  			<a href="<?php echo sfConfig::get('app_prefix'), url_for2('user_info')?>"><?php echo $account['login_user']?></a>
  			| <a href="<?php echo sfConfig::get('app_prefix'), url_for2('home_login')?>" onclick="return confirm('<?php echo __('logout_confirm')?>')"><?php echo __('logout')?></a>
  			<?php endif; ?>
  			| 
  		</div>
  		<div class="clr"></div>
  	</div>
  	<div id="page-content">
  	<?php if (sfConfig::get('app_menu_type') == ADMIN_DEFINED::MENU_TYPE_LEFT):?>
  		<div id="page-content-left">
  			<div id="inner">
  				<?php include_component('default', 'menuLeft');?>
  			</div>
  			<div id="control-show" style="position: absolute; cursor:pointer; top: 200px; color:#990000; left: 252px;">&laquo;</div>
  		</div>
  	<?php endif;?>
  		<div id="page-content-right">
  			<div id="inner">
  				<?php echo $sf_content ?>
  			</div>
  		</div>
  		<div class="clr"></div>
  	</div>
  	<div id="page-footer"></div> 
  </body>
</html>
